<?php

namespace App\Http\Controllers;

use App\Http\Controllers\BaseController;
use App\Services\CulturalHeritageTypeService;
use Illuminate\Http\Request;

class CulturalHeritageTypeController extends BaseController
{
    public function __construct(CulturalHeritageTypeService $culturalHeritageTypeService)
    {
        $this->culturalHeritageTypeService = $culturalHeritageTypeService;
    }

    public function index()
    {
        $param = [];
        $data = $this->culturalHeritageTypeService->getAll($param);

        return $this->response->success($data);
    }
}
